﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace QuanLyThietBi
{
    public class CPhong
    {
        string sophong;
        public string Sophong
        {
            get { return sophong; }
            set { sophong = value; }
        }
        int tinhtrang;

        public int Tinhtrang
        {
            get { return tinhtrang; }
            set { tinhtrang = value; }
        }


        CLoaiphong loaiphong;
        public CLoaiphong Loaiphong
        {
            get { return loaiphong; }
            set { loaiphong = value; }
        }
        List<CThietbi> danhsachthietbi;

        public List<CThietbi> Danhsachthietbi
        {
            get { return danhsachthietbi; }
            set { danhsachthietbi = value; }
        }
        public CPhong()
        {
            sophong = "";
            tinhtrang = 0;
            loaiphong = new CLoaiphong();
            danhsachthietbi = new List<CThietbi>();
        }
        public CPhong(string sophong, int tinhtrang, CLoaiphong loaiphong, List<CThietbi> dsthietbi)
        {
            this.sophong = sophong;
            this.tinhtrang = tinhtrang;
            this.loaiphong = loaiphong;
            this.danhsachthietbi = dsthietbi;
        }
    }
}
